<?php

namespace app\controller;

use app\BaseController;

/**
 * 基础控制器
 * @property int $pageSize
 */
class BasicController extends BaseController
{
    protected int $pageSize;
    public function initialize()
    {
        parent::initialize();
        $this->pageSize = isset($this->request["page_size"]) ? $this->request["page_size"] : config("env.page_size");
    }
}